package beanstao.util.response;

import beanstao.util.table.Table;

public class TableData extends PD
{
	private TableData()
	{
	}

	static TableData ME(Table table)
	{
		TableData data = new TableData();
		data._responseData = table;
		return data;
	}

	@Override
	public String toJson()
	{
		if (null == _responseData)
		{
			this.logWarn("Response数据为空。");
			return null;
		}
		return ((Table) (_responseData)).toJson();
	}
}
